﻿using System;

namespace Nvigorate.Relational.Mapping
{
    [Serializable]
    public class LeftJoin : BaseJoin, IEquatable<LeftJoin>
    {
        public bool Equals(LeftJoin obj)
        {
            return base.Equals(obj);
        }

        public override bool Equals(object obj)
        {
            if (ReferenceEquals(null, obj)) return false;
            if (ReferenceEquals(this, obj)) return true;
            return Equals(obj as LeftJoin);
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}